package com.server.service;


import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: sunguangzhu
 * Date: 14-2-14
 * Time: 下午5:20
 * To change this template use File | Settings | File Templates.
 */
public class GeneratorParams {
    private String path;
    Map<String, Object> root=new HashMap<String, Object>();
    String templateName;
    public static String templateDirPath = System.getProperty("user.dir");
    private String replaceImportPackage;

    String packageName;
    String classPackage;
    String filename;

    String className;
    Class<?> beanClass;
    private String resourcePath="src/main/resources/";

    private String resources_suffix = ".xml";

    public GeneratorParams() {
    }

    public Map<String, Object> getRoot() {
        return root;
    }

    public void setRoot(Map<String, Object> root) {
        this.root = root;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getClassPackage() {
        return classPackage;
    }

    public void setClassPackage(String classPackage) {
        this.classPackage = classPackage;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class<?> beanClass) {
        this.beanClass = beanClass;
    }

    public String getResourcePath() {
        return resourcePath;
    }

    public void setResourcePath(String resourcePath) {
        this.resourcePath = resourcePath;
    }

    public String getResources_suffix() {
        return resources_suffix;
    }

    public void setResources_suffix(String resources_suffix) {
        this.resources_suffix = resources_suffix;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getReplaceImportPackage() {
        return replaceImportPackage;
    }

    public void setReplaceImportPackage(String replaceImportPackage) {
        this.replaceImportPackage = replaceImportPackage;
    }
}
